using Gtk;
using WebKit;

namespace Meridian.Content {
	
	public class WebTab : Tab<WebView> {
						
		public WebTab (string title, WebBook book) {
			this.book = book;
		    var default_icon = new Image.from_icon_name("applications-internet" , IconSize.MENU);
		
			this.content = new WebView ();
			this.label = new TabLabel (title, default_icon);
			
			this.scrolled_window = new ScrolledWindow (null, null);
			scrolled_window.set_policy (PolicyType.AUTOMATIC, PolicyType.AUTOMATIC);
			scrolled_window.add (this.content);
			
			this.connect_close_button();
		}
		
	}
}
